Protocol Connection
class ProtocolConnection(frames: WebSocketFramesStream, eventMapper: EventMapper, sessionId: SessionID?) : Closeable, AutoCloseable
Content copied to clipboard
ProtocolConnection represents connection to chrome's debugger via DevTools Protocol.
It depends on WebSocketFramesStream which is responsible for providing stream of WebSocket frames (both events and responses) and allows for sending request frames.
EventMapper is responsible for mapping pl.wendigo.chrome.protocol.websocket.EventResponseFrames to concrete Event representations.
See also
Constructors
ProtocolConnection
Link copied to clipboard
fun ProtocolConnection(frames: WebSocketFramesStream, eventMapper: EventMapper = ProtocolConnection.eventMapper, sessionId: SessionID? = null)
Content copied to clipboard
Types
Functions
Sources
jvm source
Link copied to clipboard